Default: avoid use of opacity for overlay scrollbars
authorChristian Hergert <chergert@redhat.com>
Tue, 22 Mar 2022 01:54:09 +0000 (18:54 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 21 Apr 2022 23:14:14 +0000 (19:14 -0400)
commite50e2136d2bffbb6df64371af67bfe699366df10
treeb3c899e5761b267c30c0e4793b3a651ce7c9aedc
parenta5eeb99f37eba088455214fb6d3b5183101400c1
Default: avoid use of opacity for overlay scrollbars

If using the opacity CSS property the renderer cannot optimize these
handles without the use of offscreens due to the use of both a border
and rgb render node.

Instead, we can apply the alpha to the color values and get the same
effect in a way that the GL renderer can optimize without the use of
offscreen textures for a sizeable reduction in runtime overhead.
gtk/theme/Default/_common.scss